using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace BusinessObjects
{

    public class NamHoc : BaseObject
	{
		private short _tuNam;
		private short _denNam;
		private string _tenNamHoc = String.Empty;
		
        #region Public Properties

		public short TuNam
		{
            get
            {
                return _tuNam;
            }
            set
            {
                if (_tuNam == value)
                    return;
                _tuNam = value;
                OnPropertyChanged("TuNam");
            }
		}

		public short DenNam
		{
            get
            {
                return _denNam;
            }
            set
            {
                if (_denNam == value)
                    return;
                _denNam = value;
                OnPropertyChanged("DenNam");
            }
		}

		public string TenNamHoc
		{
            get
            {
                return _tenNamHoc;
            }
            set
            {
                if (_tenNamHoc == value)
                    return;
                _tenNamHoc = value;
                OnPropertyChanged("TenNamHoc");
            }
		}
		#endregion
		
	}
	
}

